projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eab22e2
)
If POSIX and HAVE_UNISTD_H are defined, and unistd.h hasn't already
author
Brian Fox
<bfox@gnu.org>
Tue, 5 Oct 1993 01:29:54 +0000
(
01:29
+0000)
committer
Brian Fox
<bfox@gnu.org>
Tue, 5 Oct 1993 01:29:54 +0000
(
01:29
+0000)
been included, include it.
src/systty.h
patch
|
blob
|
history
diff --git
a/src/systty.h
b/src/systty.h
index 5d651877c95e624395eb6d6c69985e02cb9dc537..67bf3bf240d937a564f1fa2a5c3c7bfc49c1c59d 100644
(file)
--- a/
src/systty.h
+++ b/
src/systty.h
@@
-114,11
+114,18
@@
static struct sensemode {
#ifdef AIX
#include <sys/pty.h>
#include <unistd.h>
+#define UNISTD_H_INCLUDED
#endif /* AIX */
#ifdef IRIX4
/* Get _getpty prototype */
#include <unistd.h>
+#define UNISTD_H_INCLUDED
+#endif
+
+#if defined (POSIX) && !defined (UNISTD_H_INCLUDED) && defined (HAVE_UNISTD_H)
+#include <unistd.h>
+#define UNISTD_H_INCLUDED
#endif
#ifdef SYSV_PTYS